package com.fang.db.dynamicdatasource01.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.fang.db.dynamicdatasource01.contant.DBConstants;
import com.fang.db.dynamicdatasource01.entity.OrderDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Description
 * @Author Bernie_fang
 * @Date 2022/12/6 23:18
 **/
@Repository
@DS(DBConstants.DATASOURCE_ORDERS)
public interface OrderMapper {

    OrderDO selectById(@Param("id") Integer id);

}
